<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
        var obj = {
        id:'awesome',
        cool:function cooFn(){
            console.log(this.id)
        }
    }
    var id = 'not awesome'
    obj.cool();
    setTimeout(obj.cool(),100)

    var char = '6';
    // escape的真正返回一个字符的Unicode编码值
    console.log( escape("abc123") );     // "abc123"

    // encodeURI()通过将特定字符的每个实例替换为一个、两个、三或四
    // 转义序列对统一资源标识符URI进行编码
    console.log( decodeURI( encodeURI(char)) )
  
  
   
</script>
</html>